<div class="addEmployee" ng-controller="addEmployee">
	<h3>添加职工</h3>
	<section class="info">
		<form class="form-horizontal">
			<div class="form-group">
				<label class="col-sm-2 control-label">用户名</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" ng-model="userName">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">初始密码</label>
				<div class="col-sm-10">
					<input type="password" class="form-control" ng-model="password">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">姓名</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" ng-model="name">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">电话</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" ng-model="phone">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">职位</label>
				<div class="col-sm-10">
					<select class="form-control" ng-model="positionId" ng-options="position.positionId as position.name for position in allPosition">
					</select>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">月薪</label>
				<div class="col-sm-10">
					<input type="number" class="form-control" ng-model="salary">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">入职时间</label>
				<div class="col-sm-10">
					<input type="date" class="form-control" ng-model="hiredate">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">店铺</label>
				<div class="col-sm-10">
					<select class="form-control" ng-model="shopId" ng-options="shop.shopId as shop.name for shop in allShop">
					</select>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">权限</label>
				<div class="col-sm-10 checkbox">
					<label>
						<input type="checkbox" ng-model="goodsIM"> 服装信息管理
					</label>
					<label>
						<input type="checkbox" ng-model="saleIM"> 销售信息管理
					</label>
					<label>
						<input type="checkbox" ng-model="purchaseIM"> 采购信息管理
					</label>
					<label>
						<input type="checkbox" ng-model="shopIM"> 店铺信息管理
					</label>
					<label>
						<input type="checkbox" ng-model="stockIM"> 库存信息管理
					</label>
					<label>
						<input type="checkbox" ng-model="customerIM"> 顾客信息管理
					</label>
					<label>
						<input type="checkbox" ng-model="financeIM"> 财务信息管理
					</label>
					<label>
						<input type="checkbox" ng-model="decisionIM"> 管理者决策管理
					</label>
					<label>
						<input type="checkbox" ng-model="adminIM"> 系统管理员管理
					</label>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
				<button type="button" class="btn btn-primary" ng-click="addEmployee()">确 定</button>
				</div>
			</div>
		</form>

	</section>
</div>